package cn.tedu.usersecurity.ex;

import cn.tedu.usersecurity.web.StatusCode;
import lombok.Getter;

public class ServiceException extends RuntimeException {
    @Getter
    private StatusCode statusCode;

    public ServiceException(StatusCode serviceCode, String message) {
        super(message);
        this.statusCode = serviceCode;
    }


}